using System;
using System.Collections.Generic;
using UnityEngine;
public enum RoomType
{
    Enemy,Shop,Choose
}
[Serializable]
public class RandomData:GameData
{
    //共有属性
    //门数据
    public bool isOpne = false;
    public bool isRandom = false;//已经进行了随机，下一次不需要进行了，只需要从表里面读取数据
    public RoomType type;//此房间的类型
    //敌人门
    public List<EnemyData> enemyDatas = new List<EnemyData>();
    public List<Vector2> enemyPos = new List<Vector2>();
    //商店门
    public List<bool> isBuy = new List<bool>();
    public List<string> buyName = new List<string>();
    public List<int> coinNum = new List<int>();
    //免费三选一门
    public bool isChoose = false;
    public List<string> chooseName = new List<string>();
    //门
    public string doorName;
}
